Orientation Type
Represents the possible screen orientations for display purposes within the RevelDigital player.
Each orientation corresponds to a specific degree of rotation from the standard landscape mode. This enum is used to define or query the intended orientation of content or the display itself.
For example, this might be used to configure how content is rendered, to match a physical display's orientation, or to respond to device rotation events if applicable.
Entries
Reversed landscape orientation (180 degrees rotation from standard landscape). Also known as upside-down landscape.
Reversed portrait orientation (270 degrees clockwise rotation from landscape, or 90 degrees counter-clockwise). The display is taller than it is wide, but rotated opposite to standard portrait.
Functions
OrientationType
based on its integer degree value.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.